const util = {
  removeEl(index, arr) { 
    let new_arr = [];
    for (let i = 0, len = arr.length; i < len; i ++) {
      if (i !== index) {
        new_arr.push(arr[i]);
      }
    }
    arr = null;
    return new_arr;
  }
}

export default util;